home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 4_misc / set / load_path < prev    next >
Text File  |  2001-03-21  |  924b  |  26 lines

  1. Synopsis:
  2.    set load_path [<directory>[:<directory> ...]]
  3.  
  4. Description:
  5.    This setting is used primarily by LOAD and WHICH (and thus the $which()
  6.    function).  If the client tries to access a file and cannot find it, it
  7.    searches through each directory listed in the LOAD_PATH.  It operates
  8.    much like the PATH statement in Unix shells.  The directories are
  9.    searched sequentially.
  10.  
  11. Examples:
  12.    To set the path to your home directory, and the client's script library:
  13.       /set load_path ~:/usr/local/irc/script
  14.  
  15.    To add ~/my_irc to the path:
  16.       /eval set load_path ${load_path}:~/my_irc
  17.  
  18. See Also:
  19.    Environment_Vars(7); File_Ops(6); load(4); which(5)
  20.  
  21. Other Notes:
  22.    The client will also obey the IRCPATH environment variable when first
  23.    starting the client.  It will override LOAD_PATH until the client is
  24.    started completely (i.e. everything in the .ircrc has loaded).
  25.  
  26.